package sample;

import java.util.*;

public class TSUser {

	private Integer id;
	private String account;     //登陆帐号
	private String password;    //登陆密码
	private String headPortrait;//头像
	private String name;        //用户名
	private Integer state;      //用户状态 0/null_正常,1_冻结

	private String phone;
	private Date lastTime;
	private Date createTime;    //注册时间
	private String lastIp;	    //最后一次
	private Integer accountType;	//账号类型：超级管理员_-1,智能调试用户_1,移动设备_2,系统用户_3
	private String pac;      //账户行政区码

	private Double balance;		//帐号余额
	private Double consumptionCount;	//总消费
	private Date LastConsumptionTime;	//最后消费时间
	private Integer loginCount;	//登录次数
	private String note;		//备注
	private Double topUpProportion;		//充值比例


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getHeadPortrait() {
		return headPortrait;
	}

	public void setHeadPortrait(String headPortrait) {
		this.headPortrait = headPortrait;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}


	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public String getLastIp() {
		return lastIp;
	}

	public void setLastIp(String lastIp) {
		this.lastIp = lastIp;
	}

	public Integer getAccountType() {
		return accountType;
	}

	public void setAccountType(Integer accountType) {
		this.accountType = accountType;
	}

	public String getPac() {
		return pac;
	}

	public void setPac(String pac) {
		this.pac = pac;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Double getConsumptionCount() {
		return consumptionCount;
	}

	public void setConsumptionCount(Double consumptionCount) {
		this.consumptionCount = consumptionCount;
	}

	public Date getLastConsumptionTime() {
		return LastConsumptionTime;
	}

	public void setLastConsumptionTime(Date lastConsumptionTime) {
		LastConsumptionTime = lastConsumptionTime;
	}

	public Integer getLoginCount() {
		return loginCount;
	}

	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Double getTopUpProportion() {
		return topUpProportion;
	}

	public void setTopUpProportion(Double topUpProportion) {
		this.topUpProportion = topUpProportion;
	}


	@Override
	public String toString() {
		return "TSUser{" +
				"id=" + id +
				", account='" + account + '\'' +
				", password='" + password + '\'' +
				", headPortrait='" + headPortrait + '\'' +
				", name='" + name + '\'' +
				", state=" + state +
				", phone='" + phone + '\'' +
				", lastTime=" + lastTime +
				", createTime=" + createTime +
				", lastIp='" + lastIp + '\'' +
				", accountType=" + accountType +
				", pac='" + pac + '\'' +
				", balance=" + balance +
				", consumptionCount=" + consumptionCount +
				", LastConsumptionTime=" + LastConsumptionTime +
				", loginCount=" + loginCount +
				", note='" + note + '\'' +
				", topUpProportion=" + topUpProportion +
				'}';
	}
}
